/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   14-12-23 下午2:33 Created by dwzhang
 */
package com.jade.bss.beacon;

/**
 * Beacon相关的常量定义
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 14-12-23 下午2:33
 */
public interface BeaconConstants
{
    public static final int PROXIMITY_NEAR = 1;
    public static final int PROXIMITY_MIDDLE = 2;
    public static final int PROXIMITY_FAR = 3;
    public static final int PROXIMITY_NONE = 1000;
    public static final int STATUS_ALL = -1;
    public static final int STATUS_NEW = 0;
    public static final int STATUS_APPLY = 1;
    public static final int STATUS_INACTIVE = 2;
    public static final int STATUS_ACTIVE = 3;
    public static final int STATUS_REMOVED = 9;
    //状态码定义
    public static final String ERR_BEACON_NOT_FOUND = "err.bss.beacon.beacon_not_found";
    public static final String ERR_BEACON_ID_EXISTED = "err.bss.beacon.id_existed";
    public static final String ERR_BEACON_UUID_EXISTED = "err.bss.beacon.uuid_existed";
    public static final String ERR_LISTENER_NOT_SET = "err.bss.beacon.listener_not_set";
    public static final String ERR_MODEL_EXISTED = "err.bss.beacon.model_existed";
}
